package day0214;

import java.util.Scanner;

public class File6 {
    public static void main(String[] args) {
        Scanner sa=new Scanner(System.in);
        double score=sa.nextDouble();
        while(1>0){
            if(0<score  &&  score<60){// 0到60分之间//  0小于score  &&  score<60
                System.out.println("不及格");
            }else if(60<=score  &&  score<75){
                System.out.println("中等");
            }else if(75<=score  &&  score<85){
                System.out.println("良好");
            }else if(85<=score  &&  score<100){
                System.out.println("优秀");
            }else{
                System.out.println("您录入的成绩无效，请重新录入");
            }
            score=sa.nextDouble();
        }
    }
}
